#define _CRT_SECURE_NO_WARNINGS 1
#include"Heap.h"

int main()
{
	Heap phead;
	HeapInit(&phead);
	int a[] = { 10,15,56,25,30,70,50 };
	for (int i = 0; i < sizeof(a) / sizeof(a[0]); i++)
	{
		HeapPush(&phead, a[i]);
	}

	/*while (!HeapEmpty(&phead))
	{
		int top = HeapTop(&phead);
		printf("%d ", top);
		HeapPop(&phead);
	}*/


	HeapDestory(&phead);
	return 0;
}